#pragma once
#include <iostream>
#include "ditcinit.hpp"

namespace MyResource
{
    //服务器启动需要预先加载的资源,其他需要添加成员即可
    class SerResource
    {
    public:
        SerResource()
            :_dc(new MyDitc::Ditc())
        {}

        MyDitc::Ditc * Getditc()
        {
            return _dc;
        }

    private:
        MyDitc::Ditc * _dc;

    };
}